﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Tools.Controls
{
    public class MRichTextBox : GroupBox
    {
        RichTextBox richTextBox;
        public MRichTextBox()
        {
            InitializeComponent();
        }

        private void InitializeComponent()
        {
            this.richTextBox = new System.Windows.Forms.RichTextBox();
            this.SuspendLayout();
            // 
            // richTextBox
            // 
            this.richTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.richTextBox.Dock = System.Windows.Forms.DockStyle.Fill;
            this.richTextBox.Location = new System.Drawing.Point(3, 17);
            this.richTextBox.Name = "richTextBox";
            this.richTextBox.Size = new System.Drawing.Size(194, 80);
            this.richTextBox.TabIndex = 0;
            this.richTextBox.Text = "";
            // 
            // MRichTextBox
            // 
            this.Controls.Add(this.richTextBox);
            this.ResumeLayout(false);

        }

        public new string Text
        {
            get
            {
                return richTextBox.Text;
            }
            set
            {
                richTextBox.Text = value;
            }
        }


    }
}
